home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8039 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: a2.phy.bnl.gov!olchansk
  2. From: olchansk@a2.phy.bnl.gov (Konstantin Olchanski)
  3. Newsgroups: gnu.g++.help,comp.lang.c++,comp.sys.sgi.apps,comp.sys.sgi.misc
  4. Subject: Re: SGI and C++
  5. Date: 11 Feb 1996 15:41:37 GMT
  6. Organization: Brookhaven National Laboratory
  7. Message-ID: <4fl2nh$b66@sun20.ccd.bnl.gov>
  8. References: <4f609s$rho@fu-berlin.de> <4f6726$4ch@fido.asd.sgi.com> <4fahih$s13@fu-berlin.de> <4fbhs0$eo3@fido.asd.sgi.com>
  9. NNTP-Posting-Host: a2.phy.bnl.gov
  10. X-newsreader: xrn 8.01
  11.  
  12. In article <4fbhs0$eo3@fido.asd.sgi.com>, shankar@engr.sgi.com (Shankar Unni) writes:
  13. > I'll leave it to the other readers of this group to comment on their
  14. > experiences with templates. ...
  15.  
  16.  
  17. Well, while not exactly in the bugs department, but I have found
  18.     that the SGI implementation of templates is significantly
  19.     slower than GCC-
  20.  
  21. The GNU complex library uses templates, and when compiled
  22.     by the SGI compiler, it's about 2 times slower
  23.     than when compiled by G++ (both using -mips2 -O).
  24.     If the GNU complex library is modified (to get rid
  25.     of templates), the SGI-compiled code becomes as fast
  26.     as the GCC-compiled code.
  27.  
  28.  
  29. C.O.
  30.